]> dgit.raspbian.org Git - gnome-shell.git/commit
popupMenu: Don't handle key presses directly if there are modifiers
authorAndrea Azzarone <andrea.azzarone@canonical.com>
Thu, 21 Jun 2018 16:40:43 +0000 (18:40 +0200)
committerAndrea Azzarone <azzaronea@gmail.com>
Sat, 14 Jul 2018 12:04:18 +0000 (14:04 +0200)
commit2e90c5fa4b35ebe26c694223966834ee949cfce3
treec672f9844a107a070a80705631f3f95feaba9aff
parent50e849a186703842bbf1418bab175d996fbaaf8a
popupMenu: Don't handle key presses directly if there are modifiers

Key events involved in a keyboard shortcut are not completely consumed by
Mutter. That means that if the popupMenu is bound to a shortcut (e.g.
Alt<Space>) and the user keeps the keys pressed, the same key-event will be
delivered to the popupMenu. We can workaround this issue filtering out all the
events where a a modifier is down (except capslock).

Fixes: https://gitlab.gnome.org/GNOME/gnome-shell/issues/372
js/ui/popupMenu.js